package day05.ti.SystemDome;

public class Ti02 {
    public static void main(String[] args) {
        int[] arr = {55,77,0,88,22,44,33};
//        将后四个数字依次前移一位，移动后，最后一位置为0
        int[]newar=new int[arr.length];
        System.arraycopy(arr,0,newar,0,2);
        System.arraycopy(arr,3,newar,2,4);
        for (int i = 0; i < newar.length; i++) {
            System.out.println(newar[i]);
        }
    }
}
